package fr.cnam.projetSiw.client.core.mapper;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;

import fr.cnam.projetSiw.client.core.ClientFactory;
import fr.cnam.projetSiw.client.structure.pages.suggest.TopArtistActivity;

public class BotRightContentMapper implements ActivityMapper {

	private ClientFactory clientFactory;
	
	public BotRightContentMapper(ClientFactory clientFactory) 
	{
		this.clientFactory = clientFactory;
	}

	@Override
	public Activity getActivity(Place place) {
		return new TopArtistActivity(clientFactory);

			
	}

	public ClientFactory getClientFactory() {
		return clientFactory;
	}
}
